package cn.itsource.pethome.base.config.baidu;

import lombok.Data;

/**
 * 存放经纬度
 */
@Data
public class Point {
    //经度
    private Double lng;
    //维度
    private Double lat;

    public Point(Double lng, Double lat) {
        this.lng = lng;
        this.lat = lat;
    }

    /**
     * 经纬坐标格式化
     */
    public String parsePoint() {
        return this.lat + "," + this.lng;
    }
}
